package com.dragon.modules.yuegou.client.wechat.request;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;


public class OpenidRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotEmpty
    private String appid;

    @NotEmpty
    private String secret;

    @NotEmpty
    private String js_code;

    private String grant_type = "authorization_code";

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getJs_code() {
        return js_code;
    }

    public void setJs_code(String js_code) {
        this.js_code = js_code;
    }

    public String getGrant_type() {
        return grant_type;
    }

    public void setGrant_type(String grant_type) {
        this.grant_type = grant_type;
    }
}
